package com.example.demo.model.entity;

public class Prize {

    //活动id
    private Integer activityId;

    //奖品等级
    private Integer level;

    //奖品数量
    private Integer number;

    //奖品类型，0为商品，1为优惠券，2为谢谢惠顾奖
    private Integer type;

    //中奖概率
    private Integer probability;

    //奖品名称
    private String prizeName;

    //优惠券id
    private Integer couponId;

    //商品id
    private Integer goodsId;

    //剩余数量
    private Integer remaining;

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getProbability() {
        return probability;
    }

    public void setProbability(Integer probability) {
        this.probability = probability;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getRemaining() {
        return remaining;
    }

    public void setRemaining(Integer remaining) {
        this.remaining = remaining;
    }

    public String getPrizeName() {
        return prizeName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }

    @Override
    public String toString() {
        return "Prize{" +
                "activityId=" + activityId +
                ", level=" + level +
                ", number=" + number +
                ", type=" + type +
                ", probability=" + probability +
                ", prizeName='" + prizeName + '\'' +
                ", couponId=" + couponId +
                ", goodsId=" + goodsId +
                ", remaining=" + remaining +
                '}';
    }
}
